package com.bookmarket.service.impl;

import com.bookmarket.dao.LQContentMapper;
import com.bookmarket.entity.Content;
import com.bookmarket.service.LQContentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created with IDEA
 * Created by 罗强 on 2017/12/17.
 */
@Service("contentService")
public class LQContentServiceImpl implements LQContentService {

    @Resource
    public LQContentMapper contentMapper ;

    @Override
    public List<Content> findContentList() {
        return contentMapper.findContentList();
    }

    @Override
    public int insertSelective(Content content) {
        return contentMapper.insertSelective(content);
    }
}
